<?php

namespace app\common\model;

use think\Model;

class Sku extends Model
{
    protected function getStatusAttr($value)
    {
        $status = [1 => '正常',2 => '已下架'];
        return ['val' => $value, 'text' => $status[$value]];
    }
}
